const express = require('express');

const app = express();
const servePort = 7002;

app.set('views', './views');
app.engine('html', require('ejs').renderFile);

app.set('view engine', 'ejs');
app.use(express.static('./views'));

app.get('/', (req, res) => {
  res.render('index.html');
});

app.listen(servePort, () => {
  console.log(`app listening on port ${servePort}!`);
});
